package com.ustc.hewei.snowflakemodule.util;

/**
 * @author hewei
 * @version 1.0
 * @description: 常量类
 * @date 2022/11/14 21:35
 */

public class Constants {

    public static final String SNOWFLAKE_PORT = "snowflake.port";
    public static final int UNKNOWN_TAG = 1;
    public static final long STANDARD_UPDATE_TIME = 10 * 60 * 1000; //10 minute
    public static final int MAX_STEP = 1000000;
    public static final double UPDATE_RATE = 0.9;
    public static final int NO_AVAILABLE_SEGMENT = 2;
    public static final int retried = 3;
}
